//
//  WMarco.h
//  XinLiJianKangJiaoYu
//
//  Created by wang on 2018/11/6.
//  Copyright © 2018 sijiaokeji. All rights reserved.
//

#ifndef WMarco_h
#define WMarco_h
//屏幕宽高
#define APP_WIDTH ([[UIScreen mainScreen] bounds].size.width)
#define APP_HEIGHT ([[UIScreen mainScreen] bounds].size.height)

#define APP_NAVH ([UIScreen mainScreen].bounds.size.height == 812 ? 88 : 64)
#define APP_TABH ([UIScreen mainScreen].bounds.size.height==812 ? 83 : 49)
#define APP_BottomH ([UIScreen mainScreen].bounds.size.height==812 ? 34 : 0)
//ios11 NAV的高度
#define TOPSCREENHIGHT [UIApplication sharedApplication].statusBarFrame.size.height+40
//底部高度
#define BOTTOMHEIGHT 34
//Tabbar宽度
#define TABBARWIGHT 80
//TabbarItem宽度
#define TABBARITEMWIGHT 80
//动画时长
#define kAnimate 0.25


#define fw APP_WIDTH/1024
#define fh APP_HEIGHT/768
#define MAINW (APP_WIDTH-320)*fw
#define MAINWMAX (APP_WIDTH-170)*fw
#define LEFTBARTITLEFOND 15


//存储
#define USERDEFAL [NSUserDefaults standardUserDefaults]
#endif
